package com.example.testscalaandroid2.act

import scala.collection.convert.WrapAsScala
import org.scaloid.common.SActivity
import org.scaloid.common.SLinearLayout
import org.scaloid.common.STextView
import org.scaloid.common.SEditText
import org.scaloid.common.SButton
class App2 extends SActivity with WrapAsScala {
  onCreate {
    contentView = new SLinearLayout {
      this.orientation = HORIZONTAL
      <<.fill
      STextView("name").textSize(80).wrap.width=50//.<<(WRAP_CONTENT, FILL_PARENT).>>
      SEditText().wrap.>>
      SButton("cancle").wrap
      SButton("ok").wrap

    }
  }
}